sap.ui.define([
    "sap/ui/core/mvc/Controller",
    "sap/ui/model/odata/v2/ODataModel"
],
    /**
     * @param {typeof sap.ui.core.mvc.Controller} Controller
     */
    function (Controller, ODataModel) {
        "use strict";

        return Controller.extend("firorworkshop185.controller.Overview", {
            onInit: function () {

            },

            onHomePress: function () {
                var oIconTabHeader = this.byId('iconTabHeader');
                oIconTabHeader.setSelectedKey('invalidKey');

                var oLabel = this.byId('labelId');
                oLabel.setText('Home Screen');
            },

            onSelectTab: function (event) {
                var oLabel = this.byId('labelId');
                var oTab = event.getParameter('item');

                oLabel.setText(oTab.getText());
            }

        });
    });
